package com.inlycat.entity;

import java.io.Serializable;

/**
 * @author jarvan4dev@163.com
 * @since 2015年8月12日下午14:18:53
 * @category 用户点赞实体类，注意:用户点赞不需要被查询
 */

//json转换的时候，用于过滤null字段
//@JsonInclude(Include.NON_NULL)
public class Thumb implements Serializable {

	private static final long serialVersionUID = -2505255571713608717L;

	private Long id;

	/**
	 * 用户id
	 */
	private Long userId;

	/**
	 * 用户赞的视频
	 */
	private Long videoId;
	
	public Thumb() {
		super();
	}
	
	public Thumb(Long userId, Long videoId) {
		super();
		this.userId = userId;
		this.videoId = videoId;
	}



	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getVideoId() {
		return videoId;
	}

	public void setVideoId(Long videoId) {
		this.videoId = videoId;
	}

	@Override
	public String toString() {
		return "Thumb [id=" + id + ", userId=" + userId + ", videoId="
				+ videoId + "]";
	}

}
